package com.pn.service;

import com.pn.dto.AssignAuthDto;
import com.pn.entity.Auth;

import java.util.List;

public interface AuthService{
    public List<Auth> authTreeByUid(Integer userId);

    //查询整个权限(菜单)树的业务方法
    public List<Auth> allAuthTree();

    //给角色分配权限(菜单)的业务方法
    public void assignAuth(AssignAuthDto assignAuthDto);
}
